import request from '@/utils/request';
import { parseStrEmpty } from '@/utils/ruoyi';



//获取社保待审核数据(审核弹框数据)
export function getSbHq(query) {
    return request({
        url: '/social/audit/msg',
        method: 'get',
        params: query,
    });
}

//社保审核
export function Examine(data) {
    return request({
        url: '/social/audit',
        method: 'post',
        data: data,
    });
}


//获取薪酬绩效待审核数据(审核弹框数据)
export function getXcHq(query) {
    return request({
        url: '/payment/audit/msg',
        method: 'get',
        params: query,
    });
}

//薪酬绩效审核
export function PayExamine(data) {
    return request({
        url: '/payment/audit',
        method: 'post',
        data: data,
    });
}


// 查询其他费用详细
export function pmOtherExpense(id) {
    return request({
      url: '/pmOtherExpense/' + id,
      method: 'get'
    })
  }
// 其他费用审核
export function updateCountersign(data) {
    return request({
        url: '/pmOtherExpense/updateCountersign',
        method: 'put',
        data: data,
    });
}
